package com.atguigu.controller;

import com.atguigu.service.HelloService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author : leimingchao
 * @date Date : 2021年08月22日 17:34
 */
@Controller
public class HelloController {

    @RequestMapping(value = "/hello")
    public String hello() {
        HelloService helloService = new HelloService();
        helloService.haha();
        return "hello";
    }
}
